<template>
    <div class="settings">
         <div class="pageTitle" > 
            <span class="goBack" @click="goHome">{{'<'}}</span>
            设置 
        </div>
        <ul class="operationList">
            <li>
                <span>状态提醒</span>
                <span>></span>
            </li>
             <li>
                <span>切换账号</span>
                <span>></span>
            </li>
            <li>
                <span>退出登录</span>
                <span>></span>
            </li>
            <li>
                <span>账号信息</span>
                <span>></span>
            </li>
             <li>
                <span>版本信息</span>
                <span>></span>
            </li>

        </ul>
    </div>
</template>

<script setup lang="ts">

import  {useRouter} from 'vue-router'

const router = useRouter()
const goHome=()=>{
    router.push('/home')
}


</script>

<style lang="less" scoped>
.settings{
    padding: 15px;
    font-size: 18px;
    box-sizing: border-box; 
    min-height: calc(100vh - 30px);

    .pageTitle{
        position: relative;
        font-size: 30px;
        .goBack{
            position: absolute;
            left: 0;
            text-align: left;
        }
    }



    .operationList{
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 10px;

        li{
            display: flex;
            justify-content: space-between;
            border: solid  black 2px;
            padding: 8px 15px;
        }
    }
}
</style>